package com.base.mapper.czbmapper;

import com.base.po.czb_sdk.GasOrder;
import com.base.po.czb_sdk.GasOrderExample;

import java.util.List;

import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

public interface GasOrderMapper {
    int countByExample(GasOrderExample example);

    int deleteByExample(GasOrderExample example);

    int insert(GasOrder record);

    int insertSelective(GasOrder record);

    List<GasOrder> selectByExample(GasOrderExample example);

    List<GasOrder> selectByUserId(@Param("page") Page page, @Param("record") GasOrder record);

    GasOrder selectByPrimaryKey(String id);

    GasOrder selectByOrderSn(@Param("orderSn") String orderSn);

    int updateByExampleSelective(@Param("record") GasOrder record, @Param("example") GasOrderExample example);

    int updateByExample(@Param("record") GasOrder record, @Param("example") GasOrderExample example);

    int updateByPrimaryKeySelective(GasOrder record);

    int countByUserId(String userId);

    Integer countAllGasOrder(@Param("userId") String userId, @Param("czborderid") String czborderid, @Param("czbordersn") String czbordersn, @Param("gasid") String gasid, @Param("paystatus") String paystatus, @Param("createTime1") String createTime1, @Param("createTime2") String createTime2);

    List<GasOrder> selectAllGasOrder(@Param("userId") String userId, @Param("czborderid") String czborderid, @Param("czbordersn") String czbordersn, @Param("gasid") String gasid, @Param("paystatus") String paystatus, @Param("createTime1") String createTime1, @Param("createTime2") String createTime2, @Param("page") Page page);

}